Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Spec Namespace / IPdfDictExt Class / GetFloat Method / GetFloat(IPdfDict,PdfName,Nullable<Single>) Method
The current dictionary.
The key identifying the value.
The default value.

In This Topic
    GetFloat(IPdfDict,PdfName,Nullable<Single>) Method
    In This Topic
    Gets the nullable Float value associated with the specified key. If the value does not exist or cannot be converted to a Float, returns defValue (which can be null).
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetFloat( _
       ByVal dict As IPdfDict, _
       ByVal key As PdfName, _
       ByVal defValue As System.Nullable(Of Single) _
    ) As System.Nullable(Of Single)
    public static System.Nullable<float> GetFloat( 
       IPdfDict dict,
       PdfName key,
       System.Nullable<float> defValue
    )

    Parameters

    dict
    The current dictionary.
    key
    The key identifying the value.
    defValue
    The default value.

    Return Value

    The value associated with the specified key, or defValue.
    See Also